<%@ page language="java" pageEncoding="UTF-8" buffer="16kb"%>
<%@ include file="/base.jsp"%>
<%@ include file="/module/taglibs.jsp"%>
<%@ include file="/module/nocache.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<%@ include file="/module/js.jsp"%>
<script>
	$(document)
			.ready(
					function() {
						var _form = $("#scholarshipForm").validate();
						//返回
						$('#btnBack').click(function() {
							document.scholarshipForm.action = "${basePath}/scholarship/scholarshipStudentIndex";
							document.scholarshipForm.submit();
										
					  });
						//打印
						 $("#btnPrint").click(function(){
							 layer.confirm("您确定需要打印吗?", {icon: 3, title:'提示',skin:'layer-ext-moon'}, function(index){
									$("#view").printArea();
							 },function(index){
									layer.close(index);
				              });
						});
						
					});
</script>
</head>
<body style="height: 100%">
	<form action="#" id="scholarshipForm" name="scholarshipForm">
		 <input type="hidden" id="sqid" name="sqid" value="${scholarshipApply.sqid}" />
		<div id="view">
			<table cellpadding="0" cellspacing="0" border="0" class="table-border"
			width="80%">
			<tr>
				<td class="table-header" colspan="8">杭州市中职教育奖学金获得者登记表</td>
			</tr>
			<tr>
				<td class="table-contentTD2" style="width: 11%">姓名</td>
				<td class="table-contentTD2" style="width: 11%">${scholarshipApply.xm}</td>
				<td class="table-contentTD2" style="width: 11%" >性别</td>
				<td class="table-contentTD2" style="width: 11%">${scholarshipApply.xb}</td>
				<td class="table-contentTD2" style="width: 11%">出身年月</td>
				<td class="table-contentTD2" style="width: 11%"><fmt:formatDate value="${scholarshipApply.csrq}" pattern="yyyy-MM-dd"/></td>
				<td class="table-contentTD2" style="width: 11%">民族</td>
				<td class="table-contentTD2" style="width: 11%">${scholarshipApply.mz}</td>
			</tr>
			<tr>
				<td class="table-contentTD2" style="width: 11%">年级专业</td>
				<td class="table-contentTD2" colspan="3">${scholarshipApply.njmc}级${scholarshipApply.zymc}</td>
				<td class="table-contentTD2" style="width: 11%">身份证号</td>
				<td class="table-contentTD2" style="width: 11%">${scholarshipApply.sfzh}</td>
				<td class="table-contentTD2" style="width: 11%">入学时间</td>
				<td class="table-contentTD2" style="width: 11%"><fmt:formatDate value="${scholarshipApply.rxrq}" pattern="yyyy-MM-dd"/></td>
			</tr>
			<tr>
				<td class="table-contentTD2" style="width: 11%">在校期间获得资助情况</td>
				<td class="table-contentTD2" colspan="7">${scholarshipApply.zxzzqk}</td>
			</tr>
			<tr>
			 <td class="table-contentTD2" style="width: 11%">家庭成员情况</td>
			 <td colspan="7" class="table-contentTD2">
			<table cellpadding="0" cellspacing="0" border="0" width="100%" style="margin: 0 0 0 0">
	<tr>
		<td class="table-contentTD2" style='text-align: center;'>姓名</td>
		<td class="table-contentTD2" style='text-align: center;'>与本人关系</td>
		<td class="table-contentTD2" style='text-align: center;'>工作或学习单位</td>
		<td class="table-contentTD2" style='text-align: center;'>联系电话</td>
	</tr>
			<c:forEach items="${familyList}" var="family">
				<tr>
					<td class="table-contentTD2" style='text-align: center;'>${family.xm}</td>
					<td class="table-contentTD2" style='text-align: center;'>${family.gx}</td>
					<td class="table-contentTD2" style='text-align: center;'>${family.gzdw}</td>
					<td class="table-contentTD2" style='text-align: center;'>${family.lxdh}</td>
				</tr>
			</c:forEach>
</table>
			 </td>
			</tr>
			<tr>
			<td class="table-contentTD2" style="width: 11%">在校期间成绩和所获荣誉</td>
			<td colspan="7" class="table-contentTD2">
			 <div style="height:80px;">
			 <br/>
			 <br/>
			 <br/>
			 <br/>
			</div>
			<div style="text-align:right;">年&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;月  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;日&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
			</td>
			</tr>
			<tr>
			<td class="table-contentTD2" style="width: 11%">班委会推荐意见</td>
			<td colspan="7" class="table-contentTD2">
			 <div style="height:80px;">
			 <br/>
			 <br/>
			 <br/>
			 <br/>
			</div>
			<div style="text-align:right;">负责人:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;公章:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
			</td>
			</tr>
			<tr>
			<td class="table-contentTD2" style="width: 11%">学校初审意见及公示结果</td>
			<td colspan="7" class="table-contentTD2">
			 <div style="height:80px;">
			 <br/>
			 <br/>
			 <br/>
			 <br/>
			</div>
			<div style="text-align:right;"> 负责人:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;公章:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</div>
			</td>
			</tr>
			
		</table>
		<br/>
		<table cellpadding="0" cellspacing="0" border="0" class="table-border"
			width="80%">
			<tr>
				<td class="table-contentTD" style="text-align:left;border: 0px;font-size: 13px;font-weight: bold;" colspan="8">说明：此表存入学生档案</td>
			</tr>
			</table>
		</div>
		<div id="button-view">
			<table cellpadding="1" cellspacing="1" border="0" align="center">
				<tr>
				<td><input type="button" id="btnPrint" autocomplete="off"  class="inputButton"
						value="打印" style="text-align: center;" /></td>
					<td><input type="button" id="btnBack" autocomplete="off"  class="inputButton"
						value="返回" style="text-align: center;" /></td>
				
				</tr>
			</table>
		</div>	
	</form>
</body>
</html>
